<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 引入jstl -->
<%@include file="common/tag.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <title>用户列表</title>
    <%@include file="common/head.jsp"%>
</head>
<body>
    <!-- 页面显示部分 -->
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading text-center">
                <h2>所有用户</h2>
            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                        <tr>
                            <th>图片id</th>
                            <th>用户账号</th>
                            <th>用户密码</th>
                            <th>用户描述</th>
                            <th>创建时间</th>
                            <th>用户头像</th>

                        </tr>
                    </thead>
                    <tbody>
                        <c:forEach var="user" items="${userlist}">
                            <tr>
                                <td>${user.userId}</td>
                                <td>${user.userName}</td>
                                <td> ${user.userPwd}  </td>
                                <td> ${user.userInfo} </td>
                                <td>  ${user.regTime} </td>
                                <td>  <img src="${user.userUrl}" alt="image with rounded corners"  width="200px"  height="200px">  </td>
                                <td>
                                    <a class="btn btn-info" href="/findYou/pic/piclist/${user.userId}/0/100" target="_blank">用户所有图片</a>
                                        <%--<a class="btn btn-info" href="./pic/piclist/${user.userId}/0/100" target="_blank">用户所有图片</a>--%>
                                </td>
                            </tr>
                        </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>


</body>
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>
</html>


